package guda.house.biz.form.village;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

/**
 * Created by well on 16/1/22.
 */
public class OwnerAllForm {


    @NotNull(message = "不能为空")
    private Long unitId;
    @NotNull(message = "不能为空")
    private Long buildingId;
    @NotNull(message = "不能为空")
    private Long villageId;


    @NotNull(message = "不能为空")
    @Size(min=1,max=5,message = "长度在1到5个字符之间")
    private String ownerName;
    @Size(min=0,max=18,message = "长度在0到18个字符之间")
    private String certNo;
    @Size(min=0,max=16,message = "长度在0到16个字符之间")
    private String phone;
    @Size(min=0,max=16,message = "长度在0到16个字符之间")
    private String weixin;
    @Size(min=0,max=18,message = "长度在0到18个字符之间")
    private String qq;
    @Size(min=0,max=64,message = "长度在0到64个字符之间")
    private String email;
    @NotNull(message = "不能为空")
    private Integer isEmployee;
    private Integer ownerStatus = 1;


    @Size(min=0,max=5,message = "长度在0到5个字符之间")
    private String rentName1;
    @Size(min=0,max=15,message = "长度在0到15个字符之间")
    private String rentPhone1;
    @Size(min=0,max=5,message = "长度在0到5个字符之间")
    private String rentName2;
    @Size(min=0,max=15,message = "长度在0到15个字符之间")
    private String rentPhone2;
    @Size(min=0,max=5,message = "长度在0到5个字符之间")
    private String contactName1;
    @Size(min=0,max=15,message = "长度在0到15个字符之间")
    private String contactPhone1;
    @Size(min=0,max=5,message = "长度在0到5个字符之间")
    private String contactRelation1;
    @Size(min=0,max=5,message = "长度在0到5个字符之间")
    private String contactName2;
    @Size(min=0,max=15,message = "长度在0到15个字符之间")
    private String contactPhone2;
    @Size(min=0,max=5,message = "长度在0到5个字符之间")
    private String contactRelation2;




    @NotNull(message = "不能为空")
    @Size(min=1,max=10,message = "长度在0到10个字符之间")
    private String suiteName;
    @NotNull(message = "不能为空")
    @Pattern(regexp = "^([1-9]\\d*|0)(\\.\\d{1,3})?$",message = "最多2位数的小数")
    private String suiteArea;
    @Size(min=0,max=30,message = "长度在0到30个字符之间")
    private String cardOwner;
    @Size(min=0,max=30,message = "长度在0到30个字符之间")
    private String useType;
    @Size(min=0,max=30,message = "长度在0到30个字符之间")
    private String typeWater;
    @Size(min=0,max=30,message = "长度在0到30个字符之间")
    private String cardWater;
    @Size(min=0,max=10,message = "长度在0到10个字符之间")
    private String typeElectrical;
    @Size(min=0,max=10,message = "长度在0到10个字符之间")
    private String cardElectrical;
    @Size(min=0,max=10,message = "长度在0到150个字符之间")
    private String suiteComment;
    @NotNull(message = "不能为空")
    private String gmtDelivery;
    private String gmtCheckin;
    private Integer isDecoration;
    private Integer isCheckin;
    private Long officeVarId;
    private Long employeeId;


    @Size(min=0,max=10,message = "长度在1到10个字符之间")
    private String parkingName;
    @Size(min=0,max=10,message = "长度在0到10个字符之间")
    private String ownerType;
    private Long ownerId;
    @Size(min=0,max=30,message = "长度在0到30个字符之间")
    private String parkingCard;
    @Size(min=0,max=10,message = "长度在0到10个字符之间")
    private String carNo;
    @Size(min=0,max=80,message = "长度在0到80个字符之间")
    private String memo;
    private String gmtStart;
    private String gmtEnd;
    private Integer buyed;
    private Long parkingTypeId;

    public String getParkingName() {
        return parkingName;
    }

    public void setParkingName(String parkingName) {
        this.parkingName = parkingName;
    }

    public String getOwnerType() {
        return ownerType;
    }

    public void setOwnerType(String ownerType) {
        this.ownerType = ownerType;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    public String getParkingCard() {
        return parkingCard;
    }

    public void setParkingCard(String parkingCard) {
        this.parkingCard = parkingCard;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getGmtStart() {
        return gmtStart;
    }

    public void setGmtStart(String gmtStart) {
        this.gmtStart = gmtStart;
    }

    public String getGmtEnd() {
        return gmtEnd;
    }

    public void setGmtEnd(String gmtEnd) {
        this.gmtEnd = gmtEnd;
    }

    public Integer getBuyed() {
        return buyed;
    }

    public void setBuyed(Integer buyed) {
        this.buyed = buyed;
    }

    public Long getParkingTypeId() {
        return parkingTypeId;
    }

    public void setParkingTypeId(Long parkingTypeId) {
        this.parkingTypeId = parkingTypeId;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public Long getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Long buildingId) {
        this.buildingId = buildingId;
    }

    public Long getVillageId() {
        return villageId;
    }

    public void setVillageId(Long villageId) {
        this.villageId = villageId;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getIsEmployee() {
        return isEmployee;
    }

    public void setIsEmployee(Integer isEmployee) {
        this.isEmployee = isEmployee;
    }

    public Integer getOwnerStatus() {
        return ownerStatus;
    }

    public void setOwnerStatus(Integer ownerStatus) {
        this.ownerStatus = ownerStatus;
    }

    public String getRentName1() {
        return rentName1;
    }

    public void setRentName1(String rentName1) {
        this.rentName1 = rentName1;
    }

    public String getRentPhone1() {
        return rentPhone1;
    }

    public void setRentPhone1(String rentPhone1) {
        this.rentPhone1 = rentPhone1;
    }

    public String getRentName2() {
        return rentName2;
    }

    public void setRentName2(String rentName2) {
        this.rentName2 = rentName2;
    }

    public String getRentPhone2() {
        return rentPhone2;
    }

    public void setRentPhone2(String rentPhone2) {
        this.rentPhone2 = rentPhone2;
    }

    public String getContactName1() {
        return contactName1;
    }

    public void setContactName1(String contactName1) {
        this.contactName1 = contactName1;
    }

    public String getContactPhone1() {
        return contactPhone1;
    }

    public void setContactPhone1(String contactPhone1) {
        this.contactPhone1 = contactPhone1;
    }

    public String getContactRelation1() {
        return contactRelation1;
    }

    public void setContactRelation1(String contactRelation1) {
        this.contactRelation1 = contactRelation1;
    }

    public String getContactName2() {
        return contactName2;
    }

    public void setContactName2(String contactName2) {
        this.contactName2 = contactName2;
    }

    public String getContactPhone2() {
        return contactPhone2;
    }

    public void setContactPhone2(String contactPhone2) {
        this.contactPhone2 = contactPhone2;
    }

    public String getContactRelation2() {
        return contactRelation2;
    }

    public void setContactRelation2(String contactRelation2) {
        this.contactRelation2 = contactRelation2;
    }

    public String getSuiteName() {
        return suiteName;
    }

    public void setSuiteName(String suiteName) {
        this.suiteName = suiteName;
    }

    public String getSuiteArea() {
        return suiteArea;
    }

    public void setSuiteArea(String suiteArea) {
        this.suiteArea = suiteArea;
    }

    public String getCardOwner() {
        return cardOwner;
    }

    public void setCardOwner(String cardOwner) {
        this.cardOwner = cardOwner;
    }

    public String getUseType() {
        return useType;
    }

    public void setUseType(String useType) {
        this.useType = useType;
    }

    public String getTypeWater() {
        return typeWater;
    }

    public void setTypeWater(String typeWater) {
        this.typeWater = typeWater;
    }

    public String getCardWater() {
        return cardWater;
    }

    public void setCardWater(String cardWater) {
        this.cardWater = cardWater;
    }

    public String getTypeElectrical() {
        return typeElectrical;
    }

    public void setTypeElectrical(String typeElectrical) {
        this.typeElectrical = typeElectrical;
    }

    public String getCardElectrical() {
        return cardElectrical;
    }

    public void setCardElectrical(String cardElectrical) {
        this.cardElectrical = cardElectrical;
    }

    public String getSuiteComment() {
        return suiteComment;
    }

    public void setSuiteComment(String suiteComment) {
        this.suiteComment = suiteComment;
    }

    public String getGmtDelivery() {
        return gmtDelivery;
    }

    public void setGmtDelivery(String gmtDelivery) {
        this.gmtDelivery = gmtDelivery;
    }

    public String getGmtCheckin() {
        return gmtCheckin;
    }

    public void setGmtCheckin(String gmtCheckin) {
        this.gmtCheckin = gmtCheckin;
    }

    public Integer getIsDecoration() {
        return isDecoration;
    }

    public void setIsDecoration(Integer isDecoration) {
        this.isDecoration = isDecoration;
    }

    public Integer getIsCheckin() {
        return isCheckin;
    }

    public void setIsCheckin(Integer isCheckin) {
        this.isCheckin = isCheckin;
    }

    public Long getOfficeVarId() {
        return officeVarId;
    }

    public void setOfficeVarId(Long officeVarId) {
        this.officeVarId = officeVarId;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }
}
